<!DOCTYPE HTML>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width" />
		<meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
		<title>回复评论</title>
		<link rel="stylesheet" type="text/css" href="../../lib/api.css" />
		<link rel="stylesheet" type="text/css" href="../../lib/font-awesome.min.css" />
		<link rel="stylesheet" type="text/css" href="../../css/common.css" />
		<link rel="stylesheet" type="text/css" href="../../css/community/topicProblem.css" />
		<link rel="stylesheet" type="text/css" href="../../css/community/replyComments.css" />
	</head>

	<body>
		<div id="app" v-cloak>
			<!--公共头部开始-->
			<div class="back-header fixed">
				<a onclick="api.closeWin()" class="back-header-a">
					<i class="fa fa-angle-left fa-2x white middle"></i>
				</a>
				<div class="back-header-main">评论</div>
			</div>
			<!--公共头部结束-->
			<!--内容部分开始-->
			<div class="topic-problem-content mt50 mb52">
				<div class="topic-problem-content-detail" v-for="item in commentList">
					<div class="topic-problem-name">
						<img :src="path + (item.avatar_path) + (item.avatar)">
						<span>{{item.nickname}}</span>
					</div>
					<p class="topic-problem-details server-article" v-html="item.content"></p>
					<div class="topic-problem-price-time">
						<div class="topic-problem-time topic-problem-comment-time">
							<i class="fa fa-clock-o"></i>
							<span v-if="item.created_at == null ">0</span>
							<span v-else>{{item.created_at.split(" ")[0]}}</span>
						</div>
						<div class="view-dialog">
							<a v-if="(item.parent_id) > 0" v-on:click="jump(item.id)">查看对话</a>
						</div>
						<div class="reply">
							<a v-on:click="reply(item.id,item.nickname)">回复</a>
						</div>
						<div class="clear"></div>
					</div>
				</div>
			</div>
			<!--内容部分结束-->
			<!--回复答案S-->
			<div id="answer" class="answer_div">
				<input placeholder="评论" type="text" name="" id="reply" value="回复" v-model="comment" />
				<span v-on:click="sendComment()">发布</span>
			</div>

		</div>
	</body>
	<script src="../../script/api.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../script/vue.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../script/common/config.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../script/common/jquery.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../script/community/replyComment.js" type="text/javascript" charset="utf-8"></script>

</html>